package src.lab02.test13;

/**
 * Created by 林云志 on 2017/10/20.
 */
public class School extends ComputerAverage {
    @Override
    public double average(double[] scores) {
        double average = 0;
        for (int i = 0 ; i <=4 ; i++){

            average+=scores[i];
        }
        average= average/5;
        return average;
    }
}
